package com.longcai.mapper.nearbyshop;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.longcai.entity.nearby.ClyjNearbyPackage;

/**
 * <p>
 * 商铺套餐表 Mapper 接口
 * </p>
 *
 * @author kh
 * @since 2019-04-23
 */
public interface ClyjNearbyPackageMapper extends BaseMapper<ClyjNearbyPackage> {
	/**下架单个**/
	 @Update("update clyj_nearby_package set package_state ='0' where package_id=#{packageId}")
	 int putOnsale(@Param("packageId")String packageId);
	
}
